﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using pygs.Classes;

namespace pygs.Messaging
{
    public class LocationMessage : Message
    {
        public Location location { get; set; }

        public LocationMessage(string securityToken, Location location)
            : base(securityToken)
        {
            this.location = location;            
        }

        public LocationMessage(string securityToken, DateTime date, Location location)
            : base(securityToken, date)
        {
            this.location = location;
        }

        public override string ToString()
        {
            return base.ToString() + "; location: " + location.ToString();
        }
    }
}
